.register-container {
  display: flex;
  height: 100vh;
  background-color: #f9f9f9;
  justify-content: center;
  align-items: center;
   background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ctext x='10' y='20' fill='%23ddd' font-size='12'%3E鲸选%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
}

.container {
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  border-radius: 12px; 
}

.logo-placeholder {
  width: 200px;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  padding-top: 40px;
  border-radius: 12px 0 0 12px; 
}

.icon-box {
  width: 120px;
  height: 120px;
  background-color: #e0e0e0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.icon-box img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.form-container {
  min-height: 500px;
  height: auto;
  width: 500px;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: 40px;
  background-color: white;
    border-radius: 0 12px 12px 0; 
}

.title-with-back {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 让按钮往上对齐标题顶部 */
  margin-bottom: 30px;
  position: relative;
}

.title {
  font-size: 24px;
  margin: 0;
  color: #333;
}

.form-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.label {
  width: 60px;
  font-weight: bold;
  text-align: right;
  margin-right: 15px;
  color: #333;
}

.input-field {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.input-field:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #2980b9;
}

.agreement {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.checkbox {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  cursor: pointer;
}

.agreement-text {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

/* 返回登录按钮样式 */
.back-to-login {
  font-size: 14px;
  color: #3498db;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 2px; 
  transition: background-color 0.2s;
}

.back-to-login:hover {
  background-color: #f0f8ff;
  color: #2980b9;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .register-container {
    flex-direction: column;
  }

  .logo-placeholder {
    width: 100%;
    height: 150px;
  }

  .form-container {
    padding: 20px;
  }
}